//
//  SecurityCenterCellTableViewCell.swift
//  Exchange
//
//  Created by 孟祥群 on 2018/4/18.
//  Copyright © 2018年 common. All rights reserved.
//

import UIKit
import SpriteKit
class SecurityCenterCell: BaseTableViewCell {
    lazy var statesLabel: BaseLabel = {
        let label:BaseLabel = BaseLabel(style:.thirdStyle)
        label.font = UIFont.systemFont(ofSize: 12)
        return label
    }()
    
    override init(style: UITableViewCellStyle, reuseIdentifier: String?) {
        super.init(style: style, reuseIdentifier: reuseIdentifier)
        
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    override func setUpUI() -> Void {
        super.setUpUI()
        self.contentView.addSubview(statesLabel)
        statesLabel.snp.makeConstraints { (make) in
            make.right.equalToSuperview().offset(-35)
            make.centerY.equalToSuperview()
        }
    }
    
    override func setModel(model: BaseModel) {
        statesLabel.text = kText(SecurityState.unUsed.rawValue)
    }
    
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }

}
